package yhao.demo.service.person.dao;

import yhao.demo.service.person.apilist.form.PersonEditForm;
import yhao.demo.service.person.apilist.form.PersonInsertForm;
import yhao.demo.service.person.apilist.form.PersonQueryForm;
import yhao.demo.service.person.apilist.model.PersonModel;
import yhao.infra.common.model.Pagination;

/**
 * 人员记录Dao层
 * Created by yoara on 2019-03-28
 */
public interface PersonDao{
	PersonModel selectById(String id);

	int insertPerson(PersonInsertForm form);

	int updatePerson(PersonEditForm form);

	void deleteById(String id);

	void queryPersonPage(Pagination<PersonModel> page, PersonQueryForm form);
}
